package com.lavender.extention.extention_interface;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class InitMethodTest {

    @Bean(initMethod = "init")
    public InitMethod initMethod(){
        return new InitMethod();
    }

    public static class InitMethod {

        public void init() {
            System.out.println("this is init method.");
        }

    }

}
